.class Lcom/waiqin365/base/login/n;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/base/login/LoginChangePassActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/base/login/LoginChangePassActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6

    const/4 v3, 0x2

    const/4 v5, 0x1

    const/4 v4, 0x0

    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v1, 0x7d2

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    invoke-static {v0}, Lcom/waiqin365/base/login/LoginChangePassActivity;->u(Lcom/waiqin365/base/login/LoginChangePassActivity;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget v0, p1, Landroid/os/Message;->what:I

    const/4 v1, 0x7

    if-ne v0, v1, :cond_0

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, v0, Lcom/waiqin365/base/login/b/a/at;

    if-eqz v0, :cond_0

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/base/login/b/a/at;

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/a/at;->b()Z

    move-result v1

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/base/login/b/a/at;->c:Ljava/lang/String;

    const-string/jumbo v2, "1"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string/jumbo v0, "%s%s"

    new-array v1, v3, [Ljava/lang/Object;

    sget-object v2, Lcom/fiberhome/gaea/client/b/a/a;->g:Ljava/lang/String;

    aput-object v2, v1, v4

    const-string/jumbo v2, "cuslogin_mydata_icon"

    aput-object v2, v1, v5

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    invoke-static {v1, v0}, Lcom/waiqin365/base/login/LoginChangePassActivity;->a(Lcom/waiqin365/base/login/LoginChangePassActivity;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginChangePassActivity;->w(Lcom/waiqin365/base/login/LoginChangePassActivity;)Lcom/waiqin365/base/login/mainview/CircleImageView;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    invoke-static {v2}, Lcom/waiqin365/base/login/LoginChangePassActivity;->v(Lcom/waiqin365/base/login/LoginChangePassActivity;)Landroid/graphics/Bitmap;

    move-result-object v2

    invoke-static {v2}, Lcom/waiqin365/base/login/d/g;->a(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :try_start_0
    iget-object v1, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    const-string/jumbo v2, "cuslogin_mydata_data_pic"

    invoke-static {v1, v2, v0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "FRESH_DATA_ICON"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/login/LoginChangePassActivity;->sendBroadcast(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    iget-object v1, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    const v2, 0x7f0802d8

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/LoginChangePassActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_2
    const-string/jumbo v1, "%s%s"

    new-array v2, v3, [Ljava/lang/Object;

    sget-object v3, Lcom/fiberhome/gaea/client/b/a/a;->g:Ljava/lang/String;

    aput-object v3, v2, v4

    const-string/jumbo v3, "cuslogin_mydata_icon_temp.jpg"

    aput-object v3, v2, v5

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/c;->c(Ljava/lang/String;)Z

    iget-object v0, v0, Lcom/waiqin365/base/login/b/a/at;->d:Ljava/lang/String;

    if-eqz v0, :cond_3

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-nez v1, :cond_4

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    const v1, 0x7f0802d9

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/LoginChangePassActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_5
    const-string/jumbo v1, "%s%s"

    new-array v2, v3, [Ljava/lang/Object;

    sget-object v3, Lcom/fiberhome/gaea/client/b/a/a;->g:Ljava/lang/String;

    aput-object v3, v2, v4

    const-string/jumbo v3, "cuslogin_mydata_icon_temp.jpg"

    aput-object v3, v2, v5

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/c;->c(Ljava/lang/String;)Z

    iget-object v1, p0, Lcom/waiqin365/base/login/n;->a:Lcom/waiqin365/base/login/LoginChangePassActivity;

    iget v0, v0, Lcom/waiqin365/base/login/b/a/at;->b:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :catch_0
    move-exception v0

    goto :goto_1
.end method
